package edu.sdjzu.exam.service.exam;

import edu.sdjzu.exam.dto.ExamCreateDTO;
import edu.sdjzu.exam.dto.ExamDTO;
import edu.sdjzu.exam.dto.ExamUpdateDTO;
import edu.sdjzu.exam.dto.StudentExamDTO;

import java.util.List;

import java.math.BigDecimal;

public interface ExamService {
    Long createExam(ExamCreateDTO createDTO);
    ExamDTO getExam(Long examId);
    StudentExamDTO getStudentExam(Long examId);
    void updateExam(ExamUpdateDTO updateDTO);
    void deleteExam(Long examId);
    List<ExamDTO> listExamsByCreator();
    BigDecimal calculateTotalScore(Long examId);
}
